package com.xc.stock.infrastructure.db.repo;

import java.util.Date;
import java.util.List;
import java.util.Map;

import org.springframework.data.repository.query.Param;

import com.rp.spring.jpa.GenericJpaRepository;
import com.rp.spring.jpa.TemplateQuery;
import com.xc.stock.infrastructure.db.po.AccountPO;

/**
 * AccountRepo 
 *
 * @author xlfd 
 * @email xlfd@gmail.com 
 * @created 2022/03/25 
 */
public interface AccountRepo extends GenericJpaRepository<AccountPO, Integer> {
	@TemplateQuery
	Map<String, Object> billStat(@Param("accountNoList") List<String> accountNoList, @Param("startDate") Date startDate, @Param("endDate") Date endDate);
}
